<script setup>

import HeaderWithLogin from "../components/HeaderWithLogin.vue";

function status() {
  let status = localStorage.getItem("logged");
  console.log(status);
}
</script>

<template>
<HeaderWithLogin></HeaderWithLogin>
  <div>
    <button v-on:click="status">状态查看</button>
  </div>

  <router-link to="/">Home</router-link>
  &nbsp;
  <router-link to="/user">User</router-link>
  <router-view></router-view>
</template>

<style scoped>

</style>